package com.gm.service.user;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.gm.common.Pager;
import com.gm.controller.dto.RemindPayTaskDTO;
import com.gm.dao.remindPayTask.IRemindPayTaskDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/7/3.
 */
@Service
public class RemindPayTaskService {
    @Autowired
    private IRemindPayTaskDao remindPayTaskDao;

    public PageList<RemindPayTaskDTO> getRemindPayTaskList(Pager pager){

        PageBounds pageBounds = new PageBounds(pager.getCurrentPage(), pager.getPageSize());
        return remindPayTaskDao.getRemindPayTaskList(pageBounds);
    }

}
